home *** CD-ROM | disk | FTP | other *** search
- Path: news.uni-c.dk!news
- From: Anders <scc0808@euroconnect.dk>
- Newsgroups: comp.lang.c++
- Subject: streambuf with automatic de/compression
- Date: Mon, 19 Feb 1996 12:24:05 -0800
- Organization: Scandinavian Computer Club
- Message-ID: <3128DC65.7591@euroconnect.dk>
- NNTP-Posting-Host: river1.euroconnect.dk
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win16; I)
-
- I'm trying to write an streambuf class that automatically compresses
- input and decompresses output. It's constructor would take another
- streambuf as argument for defining the final in/output.
- I have looked at the include file but couldn't based on this limited
- information work out which virtual functions should be rewritten and in
- which way, to allow buffered access. I have reasoned that only the
- underflow() & overflow() functions should be used for non-buffered
- throughput.
- Best regards,
- Anders Borum - scc0808@euroconnect.dk
-